home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1997 December
/
MACPOWER-1997-12.ISO.7z
/
MACPOWER-1997-12.ISO
/
AMUG
/
PROGRAMMING
/
Raven 1.2 Examples.sit
/
Raven 1.2 Examples
/
Quill
/
Source
/
StringListBoxEditor.h
< prev
next >
Wrap
Text File
|
1997-01-22
|
2KB
|
75 lines
/*
* File: StringListBoxEditor.h
* Summary: A view that knows how to edit a TStringListBox.
* Written by: Jesse Jones
*
* Copyright ゥ 1997 Jesse Jones.
* For conditions of distribution and use, see copyright notice in ZTypes.h
*
* Change History (most recent first):
*
* <-> 1/22/97 JDJ Created
*/
#pragma once
#include <ZStringListBox.h>
#include "BasePaneEditor.h"
// ===================================================================================
// class CEditStringListBoxCommand
// ===================================================================================
class CEditStringListBoxCommand : public CBaseEditPaneCommand<TStringListBox, SStringListBoxInfo> {
typedef CBaseEditPaneCommand<TStringListBox, SStringListBoxInfo> Inherited;
//-----------------------------------
// Initialization/Destruction
//
public:
virtual ~CEditStringListBoxCommand();
CEditStringListBoxCommand(TStringListBox* pane, const SStringListBoxInfo& oldInfo, const SStringListBoxInfo& newInfo);
//-----------------------------------
// Inherited API
//
public:
virtual void UpdatePane(const SStringListBoxInfo& newInfo);
};
// ===================================================================================
// CStringListBoxEditor
// ===================================================================================
class CStringListBoxEditor : public CBasePaneEditor<TStringListBox, SStringListBoxInfo, CEditStringListBoxCommand> {
typedef CBasePaneEditor<TStringListBox, SStringListBoxInfo, CEditStringListBoxCommand> Inherited;
//-----------------------------------
// Initialization/Destruction
//
public:
virtual ~CStringListBoxEditor();
CStringListBoxEditor(TView* superView);
//-----------------------------------
// Inherited API
//
protected:
virtual SStringListBoxInfo GetEditorInfo() const;
virtual void SetEditorInfo(const SStringListBoxInfo& info);
//-----------------------------------
// TReanimator Support
//
public:
static MReanimatable* Create(MReanimatable* parent);
};